gdk: Make GdkWindow cope better with its surface outliving the window
authorBenjamin Otte <otte@redhat.com>
Thu, 9 Sep 2010 00:13:33 +0000 (02:13 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2010 13:11:41 +0000 (15:11 +0200)
commit7c62a443248f9b1b5de5cb79202e33afc3ec94d9
tree6ec3f88af3062424d85a63987090f70f69f85dae
parentba21d3e687b316a45b029266fe4ed868df07ab62
gdk: Make GdkWindow cope better with its surface outliving the window

Make extra sure we release the surface properly. Also make sure that the
released surface doesn't keep any references to us.
gdk/gdkwindow.c